package item;

public class Mail {
    private String name;
    private String number;
    private Long id;
    private String gender;
    private String email;

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    private String grade;

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }


    public Mail() {
        this.name = null;
        this.number = null;
        this.gender = null;
        this.email = null;
        this.grade = null;
    }

    public int getId() {
        return id.intValue();
    }

    public void setId(Long id) {
        this.id = id;
    }




    public Mail(Long id,String name,String number,String gender,String grade,String email){
        super();
        this.name = name;
        this.number = number;
        this.id = id;
        this.gender = gender;
        this.grade = grade;
        this.email = email;

    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNumber() {
        return this.number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

}
